/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cong.javadanang.model.dao;

import cong.javadanang.model.entity.Category;
import java.util.List;

/**
 *
 * @author Pham
 */
public interface CategoryDAO {
    
    Category getCategoryById(int catId);
    List<Category> getAllCategorys();
    
    boolean createCategory(Category cat);
    boolean updateCategory(Category cat);
    boolean deleteCategory(Category cat);
    boolean removeCategory(Category cat);
    boolean restoreCategory(Category cat);
    
}
